#ifndef SCENENODE_H_
#define SCENENODE_H_

#include "BVD3D10Renderer.h"

class SceneNode
{
public:
    BvD3D10Renderer* renderer;
    ID3D10Buffer *id3d10vertexBuffer, *id3d10indexBuffer;
    std::vector<ID3D10ShaderResourceView*> textureSRVs;

    EffectId effectId;
    VertexFormatId vertexFormatId;
    VertexBufferId vertexBufferId;
    IndexBufferId indexBufferId;
    char techniqueName[MAX_PATH];

    SceneNode(){};
    SceneNode(BvD3D10Renderer* r):renderer(r){};
    ~SceneNode(){};
    virtual void setEffect(const char* effectName, const char* techName) = 0;
    virtual void draw() = 0;
};

#endif //SCENENODE_H_